package com.redijedi.tapestry.pages;

import org.apache.tapestry.annotations.Persist;

/**
 * @author torr
 * 
 */
public class RatingFieldEnumerationTestPage {

	private enum Value {
		TEST_0, TEST_1, TEST_2, TEST_3, TEST_4, TEST_5
	}

	@Persist
	private Value value = Value.TEST_0;

	public Value getValue() {
		return value;
	}

	public void setValue(Value value) {
		this.value = value;
	}
	
	public Value[] getValues() {
		return Value.values();
	}

}
